import {
  post, get
} from './_index'

const postList = {
}
const getList = {
  getVerifiImg: '/user/generate_image_code/' // 获取图片验证码
}

var apis = {}
for (let k in postList) {
  apis[k] = (params, headers) => post(postList[k], params, headers)
}
for (let k in getList) {
  apis[k] = (params, headers) => get(getList[k], params, headers)
}

export default apis
